package ma.techit.pfe.agence.voyage.model;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;

@Entity

public class Consommateur extends Utilisateur{
	
	
	
	
	@OneToMany(fetch = FetchType.EAGER, targetEntity = Requete.class)
    private Set<Requete> requetes= new HashSet<Requete>();

	public Set<Requete> getRequetes() {
		return requetes;
	}

	public void setRequetes(Set<Requete> requetes) {
		this.requetes = requetes;
	}


}
